package cn.shop.front.entity.req;

import cn.shop.utils.constant.Constant;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import javax.validation.constraints.Min;
import java.time.LocalDate;
import java.time.LocalDateTime;

/**
 * @author : 李一涵
 * @date : Created in 2022/5/4 16:10
 * @description :
 */
@Data
public class FundDetailQueryReq {

    @Min(value = 1, message = "请输入每页记录数")
    private int size;
    @Min(value = 1, message = "请输入第几页")
    private int current;
    @DateTimeFormat(pattern = Constant.DATE_FORMAT)
    private LocalDate beginTime;
    @DateTimeFormat(pattern = Constant.DATE_FORMAT)
    private LocalDate endTime;
    private Integer type;
    private Long orderId;

}
